package me.zhengjie.sqlservice;

import com.baomidou.mybatisplus.extension.service.IService;
import me.zhengjie.pojo.entity.WcsOutboundMission;

import java.util.List;

public interface WcsOutboundMissionService extends IService<WcsOutboundMission> {
    boolean insertOutbound(WcsOutboundMission wcsOutboundMission);

    WcsOutboundMission selectOutboundCode(String robotTaskCode);

    boolean updateMissionStatusAndAgvId(Integer id, Integer missionStatus, String agvId);

    boolean updateMissionStatus(String outboundCode, Integer missionStatus);

    boolean deleteOutboundId(Integer id);

    List<WcsOutboundMission> selectStatusAndDestinationAndContainerTypePage(Integer missionStatus, String destination, Integer containerType, Integer size);

    List<WcsOutboundMission> selectTask(Integer missionStatus, Integer containerType);

    List<WcsOutboundMission> selectMissionStatus(Integer status);

    List<WcsOutboundMission> selectLtStatus(Integer status);

    List<WcsOutboundMission> selectContainerCodeIn(List<String> containerCodeList);
}
